var t = new(require("../../../utils/http.js").HTTP);
Page({
    data: {},
    onLoad: function () {
        var t = wx.getStorageSync("user");
        this.setData({
            user: t
        }),
        this.purpose()
    },
    purpose: function () {
        var a = this;
        t.request({
            url: "https://www.qlsyyun.com:3030/channel",
            data: {
                arr: 2,
                zsy: a.data.user[0]
            }
        }).then((function (t) {
                0 == t.data.length ? a.setData({
                    show: !1
                }) : a.setData({
                    clients: t.data,
                    show: !0
                })
            }))
    },
    chanBtn: function (t) {
        var a = t.currentTarget.dataset.id;
        wx.navigateTo({
            url: "/pages/channel/mydetails/mydetails?qdid=" + a
        })
    }
});
